package com.aaa.service.fpa;

import com.aaa.entity.PageSortEntity;
import com.aaa.entity.fpa.ResultDiv;
import com.aaa.entity.fpa.TestResultFpa;
import com.aaa.entity.fpa.ViewTestResultFpa;
import com.aaa.entity.mht.TestResultMht;
import com.github.pagehelper.Page;


import java.util.List;
import java.util.Map;

/**
 * (ViewTestResultFpa)表服务接口
 *
 * @author
 * @since 2022-07-08 10:00:04
 */
public interface ViewTestResultFpaService {


    /**
     * 分页查询
     *
     * @param viewTestResultFpa 筛选条件
     * @param pageSortEntity    分页对象
     * @return 查询结果
     */
    Page queryByPage(PageSortEntity pageSortEntity, ViewTestResultFpa viewTestResultFpa);

    Page queryTestResultById(PageSortEntity pageSortEntity, TestResultFpa testResultFpa );

    /**
     * @return Map
     * @description: 根据id查询对应信息
     */
    List<ViewTestResultFpa> queryRequestById(ViewTestResultFpa viewTestResultFpa);

    /**
     * @param
     * @return Map<String   ,   Integer>
     * @description: 查询所有数据
     */
    Map<String, Integer> queryAllPlanFpa();

    String selecById(Integer id);

    /**
     * @return List<resultDiv>
     * @Description 查询对应性格的标签
     * @Param id
     **/
    ResultDiv queryAllResultDiv(Integer id);

    /**
     * @param id
     * @return
     * @description: 删除
     */
    boolean deleteById(int[] id);

    boolean deleteByTesterId(int[] id);
}
